import request from '@/utils/request'

export function areas(params) {
  return request({
    url: '/areas?level=3',
    method: 'get',
    params
  })
}
export function areasLevel(id, level) {
  return request({
    url: '/areas/' + id + '/level/' + level,
    method: 'get'
  })
}
export function schools(params) {
  return request({
    url: '/schools',
    method: 'get',
    params
  })
}
